Skip to content

Instantly share code, notes, and snippets.

@lcenchew
lcenchew / revisit-2024.md
Last active May 10, 2024 14:56
Always looking for great software to use ... #write

Revisiting Note Taking tools

Gravitated to Apple Notes and the new Journal app. Journal is still limited in feature but there are nice features I use often - like sending a screenshot to it. Cross platform is not so critical since I'd sunk deeper into Apple ecosystem.

Using

  • Apple Notes
  • Google Drive (Docs & Slides)
  • Github
{
"13HAaCcuKiXPc3GpkzDqPS": {
"checklist": "",
"completiondate": 7152022,
"creationdate": 7152022,
"deadline": 0,
"evening": false,
"heading": "",
"inbox": false,
"islogged": true,
@heiswayi
heiswayi / google-dorks-2015.txt
Created October 26, 2015 07:14
Google Dorks List 2015
intitle:index.of .bash_history
intitle:index.of .sh_history
intitle:"Index of" index.html.bak
intitle:"Index of" index.php.bak
intitle:"Index of" index.jsp.bak
intitle:"Index of" ".htpasswd" htpasswd.bak
inurl:backup intitle:index.of inurl:admin
"Index of /backup"
intitle:"Index of" index.html~
intitle:"Index of" index.php~
@dideler
dideler / bot.rb
Last active May 10, 2024 14:55
Sending a notification message to Telegram using its HTTP API via cURL
# Use this script to test that your Telegram bot works.
#
# Install the dependency
#
# $ gem install telegram_bot
#
# Run the bot
#
# $ ruby bot.rb
#
@lejoe
lejoe / 1-Desktop.md
Last active May 10, 2024 14:55
Mac desktop setup

Desktop

Development:

Terminal: Hyper
Configurable with JS and CSS

Editor: VS code
The reference.

@tbranyen
tbranyen / events.js
Last active May 10, 2024 14:54
Rethinking events using ES6 (https://tbranyen.com/events)
const bus = {};
const get = e => (bus[e] = bus[e] || new Set());
export const listeners = new Proxy(bus, { get });
export const emit = (e, ...args) => listeners[e].forEach(fn => fn(...args));
@tbranyen
tbranyen / webapp.config.json
Created October 23, 2018 18:15
Build out ESM, CJS, UMD, Script, UMD Minified, and Script Minified
{
"builds": [{
"input": "lib/**/*.js",
"output": "dist/esm",
"outputType": "module",
"debug": true
}, {
"input": "lib/**/*.js",
"output": "dist/cjs",
"outputType": "commonjs",
@tbranyen
tbranyen / console-react.jsx
Created January 29, 2019 22:55
A Console component for React
const Console = props => {
for (let method in console) {
if (method in props) {
console[method](props[method]);
}
}
return <></>;
};
@tbranyen
tbranyen / visible-proxy.js
Created December 31, 2021 18:13
Visible proxy
function makeVisibleProxy() {
const obj = {};
// Own keys must be known ahead of time for this to work
const keys = ['key1', 'key2'];
// Map each known key to the obj, but make the getter "lazy"
keys.forEach(keyName => {
const desc = {
configurable: true,
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active May 10, 2024 14:51
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This no longer works in browser!

Note

This no longer works if you're alone in vc! Somebody else has to join you!

How to use this script:

  1. Accept the quest under User Settings -> Gift Inventory